//////////////////////////////////////////////////////////
// 	PROJECT : WB700
// 	PROCESS : Color Shading Adjust
//	DATE    : 2011.04.20
/////////////////////////////////////////////////////////

start

//============================================#01. Color Shading
mode program
set flash off

adj_color_shading write_mode_count 0
adj_color_shading adjust_init   // delete and init

adj_color_shading modeindex 0 // ϴ   
 
adj_color_shading luma_percent   80

adj_color_shading set_lv 192
adj_color_shading set_fix_sv 96

adj_color_shading data_min_max 500 2000


// make color shading table for zoom 0
adj_zoom step 0
adj_color_shading zoomindex 0
adj_color_shading make_table 1 1


adj_color_shading write_mode_count 2

// color shading adjust check
adj_color_shading ratio_min_max 65 100 // 0 100

adj_zoom step 0
adj_color_shading zoomindex 0
adj_color_shading check_ratio

adj_color_shading write_mode_count 0

// make color shading table etc
adj_zoom step 1
adj_color_shading zoomindex 1
adj_color_shading make_table 2 2

adj_zoom step 2
adj_color_shading zoomindex 2
adj_color_shading make_table 3 3

adj_zoom step 3
adj_color_shading zoomindex 3
adj_color_shading make_table 4 4

adj_zoom step 4
adj_color_shading zoomindex 4
adj_color_shading make_table 5 5

adj_zoom step 5
adj_color_shading zoomindex 5
adj_color_shading make_table 6 6

adj_zoom step 6
adj_color_shading zoomindex 6
adj_color_shading make_table 7 7

adj_zoom step 7
adj_color_shading zoomindex 7
adj_color_shading make_table 8 8

adj_zoom step 8
adj_color_shading zoomindex 8
adj_color_shading make_table 9 9

adj_zoom step 9
adj_color_shading zoomindex 9
adj_color_shading make_table 10 10

adj_zoom step 10
adj_color_shading zoomindex 10
adj_color_shading make_table 11 11

adj_zoom step 11
adj_color_shading zoomindex 11
adj_color_shading make_table 12 12

adj_zoom step 12
adj_color_shading zoomindex 12
adj_color_shading make_table 13 13

adj_zoom step 13
adj_color_shading zoomindex 13
adj_color_shading make_table 14 14

adj_zoom step 14
adj_color_shading zoomindex 14
adj_color_shading make_table 15 15

adj_zoom step 15
adj_color_shading zoomindex 15
adj_color_shading make_table 16 16

adj_color_shading write_mode_count 2

// end color shading 
adj_color_shading cs_file_delete
adj_color_shading ok_check

adj_color_shading zoomindex -1

poweroff zoom_close
end